home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / applications / 309 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.9 KB

  1. Path: soap.news.pipex.net!pipex!usenet
  2. From: m.hendry@dial.pipex.com (Mathew Hendry)
  3. Newsgroups: comp.sys.amiga.applications
  4. Subject: Re: Tools Manager and Memory
  5. Date: Mon, 8 Jan 96 17:07:32
  6. Organization: Private node.
  7. Distribution: world
  8. Message-ID: <19960108.44F2A8.F6F9@an074.du.pipex.com>
  9. References: <861.6581T612T2111@genie.geis.com>
  10. NNTP-Posting-Host: an074.du.pipex.com
  11. X-Newsreader: TIN [AMIGA 1.3 950726BETA PL0]
  12.  
  13. Steven Folberg (s.folberg@genie.geis.com) wrote:
  14. : Another question:  Can you get a TM dock button assigned to a CLI program to
  15. : open a shell window (I'm running WB 3.0)?  I have a button assigned to my
  16. : AmiTCP startup script, called PPPOn, but I need at a certain point in the
  17. : script to input my password.  The dock button runs the program just fine, but
  18. : without a shell window or any way to enter my password, the dock's useless.
  19.  
  20. Try this:
  21.  
  22. 1. Create a dock of type "Exec" called "Connect" or whatever.
  23. 2. Set it to type "CLI"
  24. 3. Specify something similar to this as the command to execute:
  25.  
  26. NewShell "CON:50/50/500/200/AmiTCP Connect" FROM S:Connect-Startup
  27.  
  28. 4. Create a script S:Connect-Startup containing the following:
  29.  
  30. <Whatever command(s) you use to dial up and start AmiTCP>
  31. ...
  32. EndCLI
  33.  
  34. 5. Add this dock to your dockbar/menu as normal, with a nice image for it etc.
  35.  
  36. This way, when you click on your "Connect" dock, ToolManager will open a new
  37. shell window and execute S:Connect-Startup, which will first dial in for you,
  38. start AmiTCP (requesting your password as is does so) and then close the
  39. shell window. You should edit S:Connect-Startup according to the commands/
  40. scripts you use to dial in. You could also add the commands you use to send/
  41. receive mail and news, so that this is done automatically each time you log
  42. on.
  43.  
  44. This is basically the way I use to dial in and connect. I also have another
  45. dock called "Hangup" (and a corresponding script called S:Hangup-Startup)
  46. to hang up for me. Works well enough.
  47.  
  48. -- Mat.
  49.